.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

html,
body {
    overflow: hidden;
    height: 100%;
}

li,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
}

body {
    /* 禁用在手机上触屏会滑动 */
    overflow: hidden;
}

#xxx {
    background: white;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
}

.actions {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
}

.actions svg {
    width: 1.5em;
    height: 1.5em;
    padding: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.actions svg.active {
    fill: red;
    transform: scale(1.2);
}

.colors {
    position: fixed;
    top: 10px;
    left: 50px;
    display: flex;
    /* border: 1px solid red; */
    padding: 3px 5px;
    margin: 0;
    opacity: 0;
    border-radius: 5px;
    border: 1px solid #bbbaba;
    transition: all 0.3s;
}

.colors::before {
    content: "";
    position: fixed;
    top: 16px;
    left: 38px;
    border: 6px solid transparent;
    border-right-color: #bbbaba;
}

.colors>li {
    width: 20px;
    height: 20px;
    /* border: 1px red solid; */
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.colors>li.active {
    transform: scale(1.2);
}

.colors>li:last-child {
    margin-right: 0;
}

.colors>.black {
    background-color: black;
}

.colors>.red {
    background-color: red;
}

.colors>.blue {
    background-color: blue;
}

.sizes {
    position: fixed;
    right: 10px;
    top: 20px;
    display: flex;
}

.sizes>li {
    margin-right: 10px;
    cursor: pointer;
}

.sizes>.thin {
    height: 0;
    width: 20px;
    border-top: 3px solid black;
}

.sizes>.thin::before {
    content: '细线';
    top: 0;
    left: 0;
}

.sizes>.weight::before {
    content: '粗线';
    top: 0;
    left: 0;
}

.sizes>.weight {
    height: 0;
    width: 20px;
    border-top: 10px solid black;
}